using System;
using System.Collections;
using System.Collections.Generic;

using NHibernate.Data.Base;

namespace NHibernate.Data.Models
{
    public partial class DictionaryZhCN : BusinessBase<long>
    {
        #region Declarations

		
		private string _value = String.Empty;
		private long _category = default(Int64);
		private bool _isVerified = default(Boolean);
		
		
		
        #endregion

        #region Constructors

        public DictionaryZhCN() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_value);
			sb.Append(_category);
			sb.Append(_isVerified);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual string Value
        {
            get { return _value; }
			set
			{
				OnValueChanging();
				_value = value;
				OnValueChanged();
			}
        }
		partial void OnValueChanging();
		partial void OnValueChanged();
		
		public virtual long Category
        {
            get { return _category; }
			set
			{
				OnCategoryChanging();
				_category = value;
				OnCategoryChanged();
			}
        }
		partial void OnCategoryChanging();
		partial void OnCategoryChanged();
		
		public virtual bool IsVerified
        {
            get { return _isVerified; }
			set
			{
				OnIsVerifiedChanging();
				_isVerified = value;
				OnIsVerifiedChanged();
			}
        }
		partial void OnIsVerifiedChanging();
		partial void OnIsVerifiedChanged();
		
        #endregion
    }
}
